.qr-login-container {
  min-height: 100vh;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 40rpx 30rpx;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* 头部样式 */
.header {
  text-align: center;
  margin-bottom: 60rpx;
}

.title {
  display: block;
  font-size: 48rpx;
  font-weight: bold;
  color: #ffffff;
  margin-bottom: 16rpx;
}

.subtitle {
  display: block;
  font-size: 28rpx;
  color: rgba(255, 255, 255, 0.8);
}

/* 二维码区域 */
.qr-section {
  background: #ffffff;
  border-radius: 24rpx;
  padding: 60rpx 40rpx;
  margin-bottom: 40rpx;
  box-shadow: 0 20rpx 40rpx rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600rpx;
  text-align: center;
}

.qr-wrapper {
  margin-bottom: 40rpx;
}

.qr-code {
  width: 400rpx;
  height: 400rpx;
  border-radius: 16rpx;
  box-shadow: 0 8rpx 24rpx rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease;
}

.qr-code:active {
  transform: scale(0.95);
}

.qr-loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 400rpx;
  color: #666;
}

.loading-spinner {
  width: 60rpx;
  height: 60rpx;
  border: 4rpx solid #f3f3f3;
  border-top: 4rpx solid #667eea;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 20rpx;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

/* 状态消息 */
.status-message {
  margin-bottom: 30rpx;
}

.status-text {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28rpx;
  padding: 20rpx;
  border-radius: 12rpx;
  transition: all 0.3s ease;
}

.status-text .icon {
  margin-right: 12rpx;
  font-size: 32rpx;
}

.status-text.pending {
  background: #e3f2fd;
  color: #1976d2;
}

.status-text.scanned {
  background: #e8f5e8;
  color: #388e3c;
}

.status-text.confirmed {
  background: #e8f5e8;
  color: #388e3c;
  font-weight: bold;
}

.status-text.expired {
  background: #ffebee;
  color: #d32f2f;
}

/* 倒计时 */
.countdown {
  font-size: 24rpx;
  color: #666;
  margin-bottom: 20rpx;
}

/* 操作按钮 */
.actions {
  width: 100%;
  max-width: 600rpx;
}

.btn-primary, .btn-secondary, .btn-scan {
  width: 100%;
  height: 88rpx;
  border-radius: 44rpx;
  font-size: 32rpx;
  font-weight: 500;
  border: none;
  margin-bottom: 20rpx;
  transition: all 0.3s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
}

.btn-primary:active {
  transform: translateY(2rpx);
  box-shadow: 0 4rpx 12rpx rgba(102, 126, 234, 0.4);
}

.btn-secondary {
  background: #ffffff;
  color: #667eea;
  border: 2rpx solid #667eea;
}

.btn-secondary:active {
  background: #f5f5f5;
}

.btn-scan {
  background: linear-gradient(135deg, #ff9800 0%, #f57c00 100%);
  color: #ffffff;
}

.btn-scan:active {
  transform: translateY(2rpx);
  box-shadow: 0 4rpx 12rpx rgba(255, 152, 0, 0.4);
}

/* 用户信息 */
.user-info {
  background: #ffffff;
  border-radius: 24rpx;
  padding: 40rpx;
  margin-top: 40rpx;
  box-shadow: 0 20rpx 40rpx rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 600rpx;
  display: flex;
  align-items: center;
}

.user-avatar {
  margin-right: 30rpx;
}

.user-avatar image {
  width: 120rpx;
  height: 120rpx;
  border-radius: 60rpx;
  border: 4rpx solid #667eea;
}

.user-details {
  flex: 1;
}

.username {
  display: block;
  font-size: 36rpx;
  font-weight: bold;
  color: #333;
  margin-bottom: 8rpx;
}

.user-id {
  display: block;
  font-size: 24rpx;
  color: #666;
}

/* 响应式设计 */
@media (max-width: 750rpx) {
  .qr-login-container {
    padding: 20rpx 20rpx;
  }
  
  .qr-section {
    padding: 40rpx 30rpx;
  }
  
  .qr-code {
    width: 320rpx;
    height: 320rpx;
  }
  
  .qr-loading {
    height: 320rpx;
  }
} 